//index.js

Page({
	data: {
		couponNum: '', // 优惠券可用数量
		couponLogo: '', // 优惠券logo
		couponName: '', // 优惠券name
	},

	onLoad: function (options) {
		console.log(options, 'options')
		this.setData({
			couponNum: options.couponNum,
			couponLogo: `https://www.wqychina.com/wkd${options.couponLogo}`,
			couponName: options.couponName,
		})
	},
})
